/* Copyright 2018 JDCLOUD.COM

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http:#www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

操作列表
云解析OpenAPI操作列表接口

OpenAPI spec version: v2
Contact: 

NOTE: This class is auto generated by the jdcloud code generator program.
*/


#ifndef DomainserviceApiModel_h
#define DomainserviceApiModel_h
#import <JDCloudOCSDKCore/JDCloudOCSDKCore.h>
#import <JDCloudOCSDKDomainservice/DomainserviceModel.h>


@interface DomainserviceDescribeDomainQueryCountRequest:JDCloudRequest

/// 查询的主域名，请使用describeDomains接口获取
@property (strong,nonatomic,nonnull)  NSString*  domainName;
/// 查询时间段的起始时间, UTC时间格式，例如2017-11-10T23:00:00Z
@property (strong,nonatomic,nonnull)  NSString*  start;
/// 查询时间段的终止时间, UTC时间格式，例如2017-11-10T23:00:00Z
@property (strong,nonatomic,nonnull)  NSString*  end;
/// 域名ID，请使用describeDomains接口获取。
@property (strong,nonatomic,nonnull)  NSString*  domainId;
-(id) initWithRegion:(NSString *)regionId
domainName:(NSString*)domainName
start:(NSString*)start
end:(NSString*)end
domainId:(NSString*)domainId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
domainName:(NSString*)domainName
start:(NSString*)start
end:(NSString*)end
domainId:(NSString*)domainId;

@end

@interface DomainserviceDescribeDomainQueryTrafficResult : NSObject
/// Time
 @property (strong,nonatomic,nonnull)  NSArray<NSNumber*>*  time;
/// 数据序列的单位
 @property (strong,nonatomic,nonnull)  NSString*  unit;
/// Traffic
 @property (strong,nonatomic,nonnull)  NSArray<NSNumber*>*  traffic;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithTime:(NSArray<NSNumber*>*) time

    unit:(NSString*)unit

    traffic:(NSArray<NSNumber*>*)traffic;
@end

@interface DomainserviceCreateDomainRequest:JDCloudRequest

/// 主域名的套餐类型, 免费:0 企业版:1 企业高级版:2
@property (strong,nonatomic,nonnull)  NSNumber*  packId;
/// 要添加的主域名
@property (strong,nonatomic,nonnull)  NSString*  domainName;
/// 主域名的ID，升级套餐必填，请使用describeDomains获取
@property (strong,nonatomic,nonnull)  NSNumber*  domainId;
/// 新购买:1、升级:3，收费套餐的域名必填
@property (strong,nonatomic,nonnull)  NSNumber*  buyType;
/// 取值1，2，3 ，含义：时长，收费套餐的域名必填
@property (strong,nonatomic,nonnull)  NSNumber*  timeSpan;
/// 时间单位，收费套餐的域名必填，1：小时，2：天，3：月，4：年
@property (strong,nonatomic,nonnull)  NSNumber*  timeUnit;
/// 计费类型，可以不传此参数。
@property (strong,nonatomic,nonnull)  NSNumber*  billingType;
-(id) initWithRegion:(NSString *)regionId
packId:(NSNumber*)packId
domainName:(NSString*)domainName
domainId:(NSNumber*)domainId
buyType:(NSNumber*)buyType
timeSpan:(NSNumber*)timeSpan
timeUnit:(NSNumber*)timeUnit
billingType:(NSNumber*)billingType;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
packId:(NSNumber*)packId
domainName:(NSString*)domainName
domainId:(NSNumber*)domainId
buyType:(NSNumber*)buyType
timeSpan:(NSNumber*)timeSpan
timeUnit:(NSNumber*)timeUnit
billingType:(NSNumber*)billingType;

@end

@interface DomainserviceDeleteDomainRequest:JDCloudRequest

/// 域名ID，请使用describeDomains接口获取。
@property (strong,nonatomic,nonnull)  NSString*  domainId;
-(id) initWithRegion:(NSString *)regionId
domainId:(NSString*)domainId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
domainId:(NSString*)domainId;

@end

@interface DomainserviceDescribeDomainQueryCountResult : NSObject
/// Time
 @property (strong,nonatomic,nonnull)  NSArray<NSNumber*>*  time;
/// Traffic
 @property (strong,nonatomic,nonnull)  NSArray<NSNumber*>*  traffic;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithTime:(NSArray<NSNumber*>*) time

    traffic:(NSArray<NSNumber*>*)traffic;
@end

@interface DomainserviceDescribeDomainQueryTrafficRequest:JDCloudRequest

/// 主域名，请使用describeDomains接口获取
@property (strong,nonatomic,nonnull)  NSString*  domainName;
/// 时间段的起始时间, UTC时间格式，例如2017-11-10T23:00:00Z
@property (strong,nonatomic,nonnull)  NSString*  start;
/// 时间段的终止时间, UTC时间格式，例如2017-11-10T23:00:00Z
@property (strong,nonatomic,nonnull)  NSString*  end;
/// 域名ID，请使用describeDomains接口获取。
@property (strong,nonatomic,nonnull)  NSString*  domainId;
-(id) initWithRegion:(NSString *)regionId
domainName:(NSString*)domainName
start:(NSString*)start
end:(NSString*)end
domainId:(NSString*)domainId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
domainName:(NSString*)domainName
start:(NSString*)start
end:(NSString*)end
domainId:(NSString*)domainId;

@end

@interface DomainserviceModifyDomainRequest:JDCloudRequest

/// 需要修改的主域名，请使用describeDomains接口获取
@property (strong,nonatomic,nonnull)  NSString*  domainName;
/// 域名ID，请使用describeDomains接口获取。
@property (strong,nonatomic,nonnull)  NSString*  domainId;
-(id) initWithRegion:(NSString *)regionId
domainName:(NSString*)domainName
domainId:(NSString*)domainId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
domainName:(NSString*)domainName
domainId:(NSString*)domainId;

@end

@interface DomainserviceDescribeDomainsRequest:JDCloudRequest

/// 分页查询时查询的每页的序号，起始值为1，默认为1
@property (strong,nonatomic,nonnull)  NSNumber*  pageNumber;
/// 分页查询时设置的每页行数，默认为10
@property (strong,nonatomic,nonnull)  NSNumber*  pageSize;
/// 关键字，按照”%domainName%”模式匹配主域名
@property (strong,nonatomic,nonnull)  NSString*  domainName;
/// 域名ID。不为0时，只查此domainId的域名
@property (strong,nonatomic,nonnull)  NSNumber*  domainId;
-(id) initWithRegion:(NSString *)regionId
pageNumber:(NSNumber*)pageNumber
pageSize:(NSNumber*)pageSize
domainName:(NSString*)domainName
domainId:(NSNumber*)domainId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
pageNumber:(NSNumber*)pageNumber
pageSize:(NSNumber*)pageSize
domainName:(NSString*)domainName
domainId:(NSNumber*)domainId;

@end

@interface DomainserviceCreateMonitorRequest:JDCloudRequest

/// 子域名
@property (strong,nonatomic,nonnull)  NSString*  subDomainName;
/// 域名ID，请使用describeDomains接口获取。
@property (strong,nonatomic,nonnull)  NSString*  domainId;
-(id) initWithRegion:(NSString *)regionId
subDomainName:(NSString*)subDomainName
domainId:(NSString*)domainId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
subDomainName:(NSString*)subDomainName
domainId:(NSString*)domainId;

@end

@interface DomainserviceCreateMonitorTargetRequest:JDCloudRequest

/// 子域名
@property (strong,nonatomic,nonnull)  NSString*  subDomainName;
/// 子域名可用监控对象的数组
@property (strong,nonatomic,nonnull)  NSArray<NSString*>*  targets;
/// 域名ID，请使用describeDomains接口获取。
@property (strong,nonatomic,nonnull)  NSString*  domainId;
-(id) initWithRegion:(NSString *)regionId
subDomainName:(NSString*)subDomainName
targets:(NSArray<NSString*>*)targets
domainId:(NSString*)domainId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
subDomainName:(NSString*)subDomainName
targets:(NSArray<NSString*>*)targets
domainId:(NSString*)domainId;

@end

@interface DomainserviceDeleteMonitorRequest:JDCloudRequest

/// 域名ID，请使用describeDomains接口获取。
@property (strong,nonatomic,nonnull)  NSString*  domainId;
/// 监控项ID，请使用describeMonitor接口获取。
@property (strong,nonatomic,nonnull)  NSString*  monitorId;
-(id) initWithRegion:(NSString *)regionId
domainId:(NSString*)domainId
monitorId:(NSString*)monitorId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
domainId:(NSString*)domainId
monitorId:(NSString*)monitorId;

@end

@interface DomainserviceDescribeMonitorAlarmRequest:JDCloudRequest

/// 当前页数，起始值为1，默认为1
@property (strong,nonatomic,nonnull)  NSNumber*  pageIndex;
/// 分页查询时设置的每页行数
@property (strong,nonatomic,nonnull)  NSNumber*  pageSize;
/// 关键字
@property (strong,nonatomic,nonnull)  NSString*  searchValue;
/// 域名ID，请使用describeDomains接口获取。
@property (strong,nonatomic,nonnull)  NSString*  domainId;
-(id) initWithRegion:(NSString *)regionId
pageIndex:(NSNumber*)pageIndex
pageSize:(NSNumber*)pageSize
searchValue:(NSString*)searchValue
domainId:(NSString*)domainId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
pageIndex:(NSNumber*)pageIndex
pageSize:(NSNumber*)pageSize
searchValue:(NSString*)searchValue
domainId:(NSString*)domainId;

@end

@interface DomainserviceDescribeMonitorTargetRequest:JDCloudRequest

/// 子域名
@property (strong,nonatomic,nonnull)  NSString*  subDomainName;
/// 域名ID，请使用describeDomains接口获取。
@property (strong,nonatomic,nonnull)  NSString*  domainId;
-(id) initWithRegion:(NSString *)regionId
subDomainName:(NSString*)subDomainName
domainId:(NSString*)domainId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
subDomainName:(NSString*)subDomainName
domainId:(NSString*)domainId;

@end

@interface DomainserviceModifyMonitorStatusRequest:JDCloudRequest

/// 暂停stop, 开启start, 手动恢复recover，手动切换switch，手动恢复和手动切换时候不支持批量操作
@property (strong,nonatomic,nonnull)  NSString*  action;
/// 监控项的主机值, 手动切换时必填
@property (strong,nonatomic,nonnull)  NSString*  switchTarget;
/// 域名ID，请使用describeDomains接口获取。
@property (strong,nonatomic,nonnull)  NSString*  domainId;
/// 监控项ID，请使用describeMonitor接口获取。
@property (strong,nonatomic,nonnull)  NSString*  monitorId;
-(id) initWithRegion:(NSString *)regionId
action:(NSString*)action
switchTarget:(NSString*)switchTarget
domainId:(NSString*)domainId
monitorId:(NSString*)monitorId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
action:(NSString*)action
switchTarget:(NSString*)switchTarget
domainId:(NSString*)domainId
monitorId:(NSString*)monitorId;

@end

@interface DomainserviceDescribeMonitorRequest:JDCloudRequest

/// 当前页数，起始值为1，默认为1
@property (strong,nonatomic,nonnull)  NSNumber*  pageIndex;
/// 分页查询时设置的每页行数
@property (strong,nonatomic,nonnull)  NSNumber*  pageSize;
/// 查询的值
@property (strong,nonatomic,nonnull)  NSString*  searchValue;
/// 域名ID，请使用describeDomains接口获取。
@property (strong,nonatomic,nonnull)  NSString*  domainId;
-(id) initWithRegion:(NSString *)regionId
pageIndex:(NSNumber*)pageIndex
pageSize:(NSNumber*)pageSize
searchValue:(NSString*)searchValue
domainId:(NSString*)domainId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
pageIndex:(NSNumber*)pageIndex
pageSize:(NSNumber*)pageSize
searchValue:(NSString*)searchValue
domainId:(NSString*)domainId;

@end

@interface DomainserviceDescribeMonitorTargetResult : NSObject
/// Data
 @property (strong,nonatomic,nonnull)  NSArray<NSString*>*  data;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithData:(NSArray<NSString*>*) data;
@end

@interface DomainserviceDescribeResourceRecordRequest:JDCloudRequest

/// 当前页数，起始值为1，默认为1
@property (strong,nonatomic,nonnull)  NSNumber*  pageNumber;
/// 分页查询时设置的每页行数, 默认为10
@property (strong,nonatomic,nonnull)  NSNumber*  pageSize;
/// 关键字，按照”%search%”模式匹配解析记录的主机记录
@property (strong,nonatomic,nonnull)  NSString*  search;
/// 域名ID，请使用describeDomains接口获取。
@property (strong,nonatomic,nonnull)  NSString*  domainId;
-(id) initWithRegion:(NSString *)regionId
pageNumber:(NSNumber*)pageNumber
pageSize:(NSNumber*)pageSize
search:(NSString*)search
domainId:(NSString*)domainId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
pageNumber:(NSNumber*)pageNumber
pageSize:(NSNumber*)pageSize
search:(NSString*)search
domainId:(NSString*)domainId;

@end

@interface DomainserviceModifyResourceRecordStatusRequest:JDCloudRequest

/// 要修改的状态，enable:启用 disable:停用
@property (strong,nonatomic,nonnull)  NSString*  action;
/// 域名ID，请使用describeDomains接口获取。
@property (strong,nonatomic,nonnull)  NSString*  domainId;
/// 解析记录ID，请使用describeResourceRecord接口获取。
@property (strong,nonatomic,nonnull)  NSString*  resourceRecordId;
-(id) initWithRegion:(NSString *)regionId
action:(NSString*)action
domainId:(NSString*)domainId
resourceRecordId:(NSString*)resourceRecordId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
action:(NSString*)action
domainId:(NSString*)domainId
resourceRecordId:(NSString*)resourceRecordId;

@end

@interface DomainserviceBatchSetResourceRecordsResult : NSObject
/// Data
 @property (strong,nonatomic,nonnull)  NSArray<NSString*>*  data;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithData:(NSArray<NSString*>*) data;
@end

@interface DomainserviceDescribeViewTreeRequest:JDCloudRequest

/// 展示方式，暂时不使用
@property (strong,nonatomic,nonnull)  NSNumber*  loadMode;
/// 套餐ID，0-&gt;免费版 1-&gt;企业版 2-&gt;企业高级版
@property (strong,nonatomic,nonnull)  NSNumber*  packId;
/// view ID，默认为-1
@property (strong,nonatomic,nonnull)  NSNumber*  viewId;
/// 域名ID，请使用describeDomains接口获取。
@property (strong,nonatomic,nonnull)  NSString*  domainId;
-(id) initWithRegion:(NSString *)regionId
loadMode:(NSNumber*)loadMode
packId:(NSNumber*)packId
viewId:(NSNumber*)viewId
domainId:(NSString*)domainId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
loadMode:(NSNumber*)loadMode
packId:(NSNumber*)packId
viewId:(NSNumber*)viewId
domainId:(NSString*)domainId;

@end

@interface DomainserviceDeleteResourceRecordRequest:JDCloudRequest

/// 域名ID，请使用describeDomains接口获取。
@property (strong,nonatomic,nonnull)  NSString*  domainId;
/// 解析记录ID，请使用describeResourceRecord接口获取。
@property (strong,nonatomic,nonnull)  NSString*  resourceRecordId;
-(id) initWithRegion:(NSString *)regionId
domainId:(NSString*)domainId
resourceRecordId:(NSString*)resourceRecordId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
domainId:(NSString*)domainId
resourceRecordId:(NSString*)resourceRecordId;

@end

@interface DomainserviceDescribeUserViewIPResult : NSObject
/// DataList
 @property (strong,nonatomic,nonnull)  NSArray<NSString*>*  dataList;
/// 当前页的IP列表里的个数
 @property (strong,nonatomic,nonnull)  NSNumber*  currentCount;
/// IP列表里的IP段的个数
 @property (strong,nonatomic,nonnull)  NSNumber*  totalCount;
/// IP列表按照分页参数一共的页数
 @property (strong,nonatomic,nonnull)  NSNumber*  totalPage;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithDataList:(NSArray<NSString*>*) dataList

    currentCount:(NSNumber*)currentCount

    totalCount:(NSNumber*)totalCount

    totalPage:(NSNumber*)totalPage;
@end

@interface DomainserviceDescribeUserViewIPRequest:JDCloudRequest

/// 自定义线路ID
@property (strong,nonatomic,nonnull)  NSNumber*  viewId;
/// 自定义线路名称, 最多64个字节，允许：数字、字母、下划线，-，中文
@property (strong,nonatomic,nonnull)  NSString*  viewName;
/// 分页参数，页的序号, 默认为1
@property (strong,nonatomic,nonnull)  NSNumber*  pageNumber;
/// 分页参数，每页含有的结果的数目，默认为10
@property (strong,nonatomic,nonnull)  NSNumber*  pageSize;
/// 域名ID，请使用describeDomains接口获取。
@property (strong,nonatomic,nonnull)  NSString*  domainId;
-(id) initWithRegion:(NSString *)regionId
viewId:(NSNumber*)viewId
viewName:(NSString*)viewName
pageNumber:(NSNumber*)pageNumber
pageSize:(NSNumber*)pageSize
domainId:(NSString*)domainId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
viewId:(NSNumber*)viewId
viewName:(NSString*)viewName
pageNumber:(NSNumber*)pageNumber
pageSize:(NSNumber*)pageSize
domainId:(NSString*)domainId;

@end

@interface DomainserviceDescribeUserViewRequest:JDCloudRequest

/// 自定义线路ID
@property (strong,nonatomic,nonnull)  NSNumber*  viewId;
/// 自定义线路名称, 最多64个字节，允许：数字、字母、下划线，-，中文
@property (strong,nonatomic,nonnull)  NSString*  viewName;
/// 分页参数，页的序号
@property (strong,nonatomic,nonnull)  NSNumber*  pageNumber;
/// 分页参数，每页含有的结果的数目
@property (strong,nonatomic,nonnull)  NSNumber*  pageSize;
/// 域名ID，请使用describeDomains接口获取。
@property (strong,nonatomic,nonnull)  NSString*  domainId;
-(id) initWithRegion:(NSString *)regionId
viewId:(NSNumber*)viewId
viewName:(NSString*)viewName
pageNumber:(NSNumber*)pageNumber
pageSize:(NSNumber*)pageSize
domainId:(NSString*)domainId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
viewId:(NSNumber*)viewId
viewName:(NSString*)viewName
pageNumber:(NSNumber*)pageNumber
pageSize:(NSNumber*)pageSize
domainId:(NSString*)domainId;

@end

@interface DomainserviceDescribeActionLogRequest:JDCloudRequest

/// 分页参数，页的序号，默认是1
@property (strong,nonatomic,nonnull)  NSNumber*  pageNumber;
/// 分页参数，每页含有的结果的数目，默认是10
@property (strong,nonatomic,nonnull)  NSNumber*  pageSize;
/// 记录的起始时间，格式：UTC时间例如2017-11-10T23:00:00Z
@property (strong,nonatomic,nonnull)  NSString*  startTime;
/// 记录的终止时间，格式：UTC时间例如2017-11-10T23:00:00Z
@property (strong,nonatomic,nonnull)  NSString*  endTime;
/// 日志需要匹配的关键词
@property (strong,nonatomic,nonnull)  NSString*  keyWord;
/// 日志里面的结果是成功还是失败
@property (strong,nonatomic,nonnull)  NSNumber*  success;
/// 日志的类型
@property (strong,nonatomic,nonnull)  NSNumber*  type;
-(id) initWithRegion:(NSString *)regionId
pageNumber:(NSNumber*)pageNumber
pageSize:(NSNumber*)pageSize
startTime:(NSString*)startTime
endTime:(NSString*)endTime
keyWord:(NSString*)keyWord
success:(NSNumber*)success
type:(NSNumber*)type;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
pageNumber:(NSNumber*)pageNumber
pageSize:(NSNumber*)pageSize
startTime:(NSString*)startTime
endTime:(NSString*)endTime
keyWord:(NSString*)keyWord
success:(NSNumber*)success
type:(NSNumber*)type;

@end

@interface DomainserviceDescribeDomainsResult : NSObject
/// DataList
 @property (strong,nonatomic,nonnull)  NSArray<DomainInfo*>*  dataList;
/// 当前页的域名列表里域名的个数
 @property (strong,nonatomic,nonnull)  NSNumber*  currentCount;
/// 所有匹配的域名列表的个数
 @property (strong,nonatomic,nonnull)  NSNumber*  totalCount;
/// 所有匹配的域名列表按照分页参数一共的页数
 @property (strong,nonatomic,nonnull)  NSNumber*  totalPage;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithDataList:(NSArray<DomainInfo*>*) dataList

    currentCount:(NSNumber*)currentCount

    totalCount:(NSNumber*)totalCount

    totalPage:(NSNumber*)totalPage;
@end

@interface DomainserviceDescribeDomainQueryCountResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property DomainserviceDescribeDomainQueryCountResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(DomainserviceDescribeDomainQueryCountResult*) result;
@end

@interface DomainserviceDescribeDomainQueryTrafficResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property DomainserviceDescribeDomainQueryTrafficResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(DomainserviceDescribeDomainQueryTrafficResult*) result;
@end

@interface DomainserviceCreateDomainResult : NSObject
/// 新添加的的域名结构
 @property (strong,nonatomic,nonnull)  DomainAdded*  data;
/// 添加收费版域名的订单号
 @property (strong,nonatomic,nonnull)  NSString*  order;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithData:(DomainAdded*) data

    order:(NSString*)order;
@end

@interface DomainserviceCreateDomainResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property DomainserviceCreateDomainResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(DomainserviceCreateDomainResult*) result;
@end

@interface DomainserviceDeleteDomainResult : NSObject

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
@end

@interface DomainserviceModifyDomainResult : NSObject

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
@end

@interface DomainserviceModifyDomainResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property DomainserviceModifyDomainResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(DomainserviceModifyDomainResult*) result;
@end

@interface DomainserviceDeleteDomainResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property DomainserviceDeleteDomainResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(DomainserviceDeleteDomainResult*) result;
@end

@interface DomainserviceDescribeDomainsResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property DomainserviceDescribeDomainsResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(DomainserviceDescribeDomainsResult*) result;
@end

@interface DomainserviceCreateMonitorResult : NSObject

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
@end

@interface DomainserviceDescribeMonitorTargetResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property DomainserviceDescribeMonitorTargetResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(DomainserviceDescribeMonitorTargetResult*) result;
@end

@interface DomainserviceDeleteMonitorResult : NSObject

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
@end

@interface DomainserviceModifyMonitorRequest:JDCloudRequest

/// 监控项设置信息
@property (strong,nonatomic,nonnull)  UpdateMonitor*  updateMonitor;
/// 域名ID，请使用describeDomains接口获取。
@property (strong,nonatomic,nonnull)  NSString*  domainId;
-(id) initWithRegion:(NSString *)regionId
updateMonitor:(UpdateMonitor*)updateMonitor
domainId:(NSString*)domainId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
updateMonitor:(UpdateMonitor*)updateMonitor
domainId:(NSString*)domainId;

@end

@interface DomainserviceModifyMonitorStatusResult : NSObject

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
@end

@interface DomainserviceDescribeMonitorResult : NSObject
/// 当前页面网站监控项的个数
 @property (strong,nonatomic,nonnull)  NSNumber*  currentCount;
/// 所有网站监控项的个数
 @property (strong,nonatomic,nonnull)  NSNumber*  totalCount;
/// 所有网站监控项的页数
 @property (strong,nonatomic,nonnull)  NSNumber*  totalPage;
/// DataList
 @property (strong,nonatomic,nonnull)  NSArray<Monitor*>*  dataList;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithCurrentCount:(NSNumber*) currentCount

    totalCount:(NSNumber*)totalCount

    totalPage:(NSNumber*)totalPage

    dataList:(NSArray<Monitor*>*)dataList;
@end

@interface DomainserviceCreateMonitorResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property DomainserviceCreateMonitorResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(DomainserviceCreateMonitorResult*) result;
@end

@interface DomainserviceDescribeMonitorAlarmResult : NSObject
/// 当前页面报警信息的个数
 @property (strong,nonatomic,nonnull)  NSNumber*  currentCount;
/// 所有报警信息的个数
 @property (strong,nonatomic,nonnull)  NSNumber*  totalCount;
/// 所有报警信息的页数
 @property (strong,nonatomic,nonnull)  NSNumber*  totalPage;
/// DataList
 @property (strong,nonatomic,nonnull)  NSArray<MonitorAlarmInfo*>*  dataList;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithCurrentCount:(NSNumber*) currentCount

    totalCount:(NSNumber*)totalCount

    totalPage:(NSNumber*)totalPage

    dataList:(NSArray<MonitorAlarmInfo*>*)dataList;
@end

@interface DomainserviceDescribeMonitorAlarmResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property DomainserviceDescribeMonitorAlarmResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(DomainserviceDescribeMonitorAlarmResult*) result;
@end

@interface DomainserviceDeleteMonitorResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property DomainserviceDeleteMonitorResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(DomainserviceDeleteMonitorResult*) result;
@end

@interface DomainserviceModifyMonitorResult : NSObject

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
@end

@interface DomainserviceCreateMonitorTargetResult : NSObject

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
@end

@interface DomainserviceCreateMonitorTargetResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property DomainserviceCreateMonitorTargetResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(DomainserviceCreateMonitorTargetResult*) result;
@end

@interface DomainserviceDescribeMonitorResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property DomainserviceDescribeMonitorResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(DomainserviceDescribeMonitorResult*) result;
@end

@interface DomainserviceModifyMonitorResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property DomainserviceModifyMonitorResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(DomainserviceModifyMonitorResult*) result;
@end

@interface DomainserviceModifyMonitorStatusResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property DomainserviceModifyMonitorStatusResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(DomainserviceModifyMonitorStatusResult*) result;
@end

@interface DomainserviceCreateResourceRecordResult : NSObject
/// 添加成功后的解析记录结果
 @property (strong,nonatomic,nonnull)  RR*  dataList;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithDataList:(RR*) dataList;
@end

@interface DomainserviceBatchSetResourceRecordsRequest:JDCloudRequest

/// 需要设置的解析记录列表
@property (strong,nonatomic,nonnull)  NSArray<BatchSetDNS*>*  req;
/// 域名ID，请使用describeDomains接口获取。
@property (strong,nonatomic,nonnull)  NSString*  domainId;
-(id) initWithRegion:(NSString *)regionId
req:(NSArray<BatchSetDNS*>*)req
domainId:(NSString*)domainId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
req:(NSArray<BatchSetDNS*>*)req
domainId:(NSString*)domainId;

@end

@interface DomainserviceCreateResourceRecordRequest:JDCloudRequest

/// RR参数
@property (strong,nonatomic,nonnull)  AddRR*  req;
/// 域名ID，请使用describeDomains接口获取。
@property (strong,nonatomic,nonnull)  NSString*  domainId;
-(id) initWithRegion:(NSString *)regionId
req:(AddRR*)req
domainId:(NSString*)domainId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
req:(AddRR*)req
domainId:(NSString*)domainId;

@end

@interface DomainserviceModifyResourceRecordStatusResult : NSObject

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
@end

@interface DomainserviceDeleteResourceRecordResult : NSObject

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
@end

@interface DomainserviceBatchSetResourceRecordsResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property DomainserviceBatchSetResourceRecordsResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(DomainserviceBatchSetResourceRecordsResult*) result;
@end

@interface DomainserviceCreateResourceRecordResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property DomainserviceCreateResourceRecordResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(DomainserviceCreateResourceRecordResult*) result;
@end

@interface DomainserviceModifyResourceRecordRequest:JDCloudRequest

/// updateRR参数
@property (strong,nonatomic,nonnull)  UpdateRR*  req;
/// 域名ID，请使用describeDomains接口获取。
@property (strong,nonatomic,nonnull)  NSString*  domainId;
/// 解析记录ID，请使用describeResourceRecord接口获取。
@property (strong,nonatomic,nonnull)  NSString*  resourceRecordId;
-(id) initWithRegion:(NSString *)regionId
req:(UpdateRR*)req
domainId:(NSString*)domainId
resourceRecordId:(NSString*)resourceRecordId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
req:(UpdateRR*)req
domainId:(NSString*)domainId
resourceRecordId:(NSString*)resourceRecordId;

@end

@interface DomainserviceDescribeViewTreeResult : NSObject
/// Data
 @property (strong,nonatomic,nonnull)  NSArray<ViewTree*>*  data;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithData:(NSArray<ViewTree*>*) data;
@end

@interface DomainserviceDescribeViewTreeResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property DomainserviceDescribeViewTreeResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(DomainserviceDescribeViewTreeResult*) result;
@end

@interface DomainserviceDescribeResourceRecordResult : NSObject
/// DataList
 @property (strong,nonatomic,nonnull)  NSArray<RRInfo*>*  dataList;
/// 所有解析记录的个数
 @property (strong,nonatomic,nonnull)  NSNumber*  totalCount;
/// 所有解析记录的页数
 @property (strong,nonatomic,nonnull)  NSNumber*  totalPage;
/// 当前页解析记录的个数
 @property (strong,nonatomic,nonnull)  NSNumber*  currentCount;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithDataList:(NSArray<RRInfo*>*) dataList

    totalCount:(NSNumber*)totalCount

    totalPage:(NSNumber*)totalPage

    currentCount:(NSNumber*)currentCount;
@end

@interface DomainserviceModifyResourceRecordResult : NSObject

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
@end

@interface DomainserviceModifyResourceRecordResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property DomainserviceModifyResourceRecordResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(DomainserviceModifyResourceRecordResult*) result;
@end

@interface DomainserviceDeleteResourceRecordResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property DomainserviceDeleteResourceRecordResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(DomainserviceDeleteResourceRecordResult*) result;
@end

@interface DomainserviceDescribeResourceRecordResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property DomainserviceDescribeResourceRecordResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(DomainserviceDescribeResourceRecordResult*) result;
@end

@interface DomainserviceModifyResourceRecordStatusResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property DomainserviceModifyResourceRecordStatusResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(DomainserviceModifyResourceRecordStatusResult*) result;
@end

@interface DomainserviceDescribeUserViewResult : NSObject
/// DataList
 @property (strong,nonatomic,nonnull)  NSArray<UserViewInput*>*  dataList;
/// 当前页的自定义线路列表里的个数
 @property (strong,nonatomic,nonnull)  NSNumber*  currentCount;
/// 所有自定义线路列表的个数
 @property (strong,nonatomic,nonnull)  NSNumber*  totalCount;
/// 所有自定义线路列表按照分页参数一共的页数
 @property (strong,nonatomic,nonnull)  NSNumber*  totalPage;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithDataList:(NSArray<UserViewInput*>*) dataList

    currentCount:(NSNumber*)currentCount

    totalCount:(NSNumber*)totalCount

    totalPage:(NSNumber*)totalPage;
@end

@interface DomainserviceDeleteUserViewIPRequest:JDCloudRequest

/// 删除域名的自定义解析线路的IP段的参数
@property (strong,nonatomic,nonnull)  DelViewIP*  req;
/// 域名ID，请使用describeDomains接口获取。
@property (strong,nonatomic,nonnull)  NSString*  domainId;
-(id) initWithRegion:(NSString *)regionId
req:(DelViewIP*)req
domainId:(NSString*)domainId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
req:(DelViewIP*)req
domainId:(NSString*)domainId;

@end

@interface DomainserviceCreateUserViewResult : NSObject
/// 添加成功后返回的自定义线路的结构
 @property (strong,nonatomic,nonnull)  Userview*  data;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithData:(Userview*) data;
@end

@interface DomainserviceCreateUserViewResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property DomainserviceCreateUserViewResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(DomainserviceCreateUserViewResult*) result;
@end

@interface DomainserviceCreateUserViewIPRequest:JDCloudRequest

/// 添加域名的自定义解析线路的IP段的参数
@property (strong,nonatomic,nonnull)  AddViewIP*  req;
/// 域名ID，请使用describeDomains接口获取。
@property (strong,nonatomic,nonnull)  NSString*  domainId;
-(id) initWithRegion:(NSString *)regionId
req:(AddViewIP*)req
domainId:(NSString*)domainId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
req:(AddViewIP*)req
domainId:(NSString*)domainId;

@end

@interface DomainserviceDescribeUserViewResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property DomainserviceDescribeUserViewResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(DomainserviceDescribeUserViewResult*) result;
@end

@interface DomainserviceDeleteUserViewResult : NSObject

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
@end

@interface DomainserviceDescribeUserViewIPResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property DomainserviceDescribeUserViewIPResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(DomainserviceDescribeUserViewIPResult*) result;
@end

@interface DomainserviceDeleteUserViewIPResult : NSObject

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
@end

@interface DomainserviceDeleteUserViewIPResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property DomainserviceDeleteUserViewIPResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(DomainserviceDeleteUserViewIPResult*) result;
@end

@interface DomainserviceCreateUserViewRequest:JDCloudRequest

/// 添加自定义线路的参数
@property (strong,nonatomic,nonnull)  AddView*  req;
/// 域名ID，请使用describeDomains接口获取。
@property (strong,nonatomic,nonnull)  NSString*  domainId;
-(id) initWithRegion:(NSString *)regionId
req:(AddView*)req
domainId:(NSString*)domainId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
req:(AddView*)req
domainId:(NSString*)domainId;

@end

@interface DomainserviceDeleteUserViewRequest:JDCloudRequest

/// 删除自定义线路的参数
@property (strong,nonatomic,nonnull)  DelView*  req;
/// 域名ID，请使用describeDomains接口获取。
@property (strong,nonatomic,nonnull)  NSString*  domainId;
-(id) initWithRegion:(NSString *)regionId
req:(DelView*)req
domainId:(NSString*)domainId;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
req:(DelView*)req
domainId:(NSString*)domainId;

@end

@interface DomainserviceCreateUserViewIPResult : NSObject

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
@end

@interface DomainserviceDeleteUserViewResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property DomainserviceDeleteUserViewResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(DomainserviceDeleteUserViewResult*) result;
@end

@interface DomainserviceCreateUserViewIPResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property DomainserviceCreateUserViewIPResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(DomainserviceCreateUserViewIPResult*) result;
@end

@interface DomainserviceDescribeActionLogResult : NSObject
/// DataList
 @property (strong,nonatomic,nonnull)  NSArray<Actionlog*>*  dataList;
/// 当前页的操作记录列表里的个数
 @property (strong,nonatomic,nonnull)  NSNumber*  currentCount;
/// 所有操作记录的个数
 @property (strong,nonatomic,nonnull)  NSNumber*  totalCount;
/// 操作记录列表按照分页参数一共的页数
 @property (strong,nonatomic,nonnull)  NSNumber*  totalPage;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithDataList:(NSArray<Actionlog*>*) dataList

    currentCount:(NSNumber*)currentCount

    totalCount:(NSNumber*)totalCount

    totalPage:(NSNumber*)totalPage;
@end

@interface DomainserviceDescribeActionLogResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property DomainserviceDescribeActionLogResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(DomainserviceDescribeActionLogResult*) result;
@end

#endif /* DomainserviceApiModel_h */
